package com.grocery.service;

import com.grocery.bean.Useraddress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IAddressService {
    int addAddress(Useraddress useraddress);
    int updateAddress(Useraddress useraddress);
    int deleteAddress(int id);
    List<Useraddress> getAddressByUserID(int userid);
    List<Useraddress> getAddressByUserIDAll(int userid);
    Useraddress getAddressByID(int id);
}
